import request from '@/utils/request'

// 查询即开票晚盘点头部数据列表
export function listcheckGglWbHead(query) {
  return request({
    url: '/system/checkGglWbHead/list',
    method: 'get',
    params: query
  })
}

// 查询即开票晚盘点头部数据详细
export function getcheckGglWbHead(id) {
  return request({
    url: '/system/checkGglWbHead/' + id,
    method: 'get'
  })
}

// 新增即开票晚盘点头部数据
export function addcheckGglWbHead(data) {
  return request({
    url: '/system/checkGglWbHead',
    method: 'post',
    data: data
  })
}

// 修改即开票晚盘点头部数据
export function updatecheckGglWbHead(data) {
  return request({
    url: '/system/checkGglWbHead',
    method: 'put',
    data: data
  })
}

// 删除即开票晚盘点头部数据
export function delcheckGglWbHead(id) {
  return request({
    url: '/system/checkGglWbHead/' + id,
    method: 'delete'
  })
}
